package com.yuelao.java8;

/**
 * 接口新增特性
 * 默认方法
 * 静态方法实现
 * Created by fengliye on 2017/10/7.
 */
public interface InterfaceTest {

    default void say() {
        System.out.println("接口默认方法");
    }

    static void hello() {
        System.out.println("hello");
    }
}
